<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页 - 智能景区讲解</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <style>
        .search-bar {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
        }
        .spot-card {
            transition: transform 0.2s;
        }
        .spot-card:hover {
            transform: translateY(-2px);
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- 顶部搜索栏 -->
    <div class="fixed top-0 left-0 right-0 z-10">
        <div class="search-bar p-4 shadow-sm">
            <div class="flex items-center bg-white rounded-full px-4 py-2">
                <i class="fas fa-search text-gray-400 mr-2"></i>
                <input type="text" placeholder="搜索景点、路线" class="w-full outline-none">
            </div>
        </div>
    </div>

    <!-- 主要内容区 -->
    <div class="pt-16 pb-20">
        <!-- 轮播图 -->
        <div class="relative h-48 bg-gradient-to-r from-blue-500 to-purple-600 rounded-b-3xl overflow-hidden">
            <div class="absolute inset-0 flex items-center justify-center text-white">
                <div class="text-center">
                    <h2 class="text-2xl font-bold">欢迎来到智能景区</h2>
                    <p class="text-sm opacity-90">探索精彩景点，开启智慧之旅</p>
                </div>
            </div>
        </div>

        <!-- 功能导航 -->
        <div class="grid grid-cols-4 gap-4 p-4">
            <div class="text-center">
                <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-map-marked-alt text-blue-500"></i>
                </div>
                <span class="text-xs">地图导航</span>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-headphones text-green-500"></i>
                </div>
                <span class="text-xs">语音讲解</span>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-yellow-100 rounded-full flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-route text-yellow-500"></i>
                </div>
                <span class="text-xs">推荐路线</span>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-red-100 rounded-full flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-comments text-red-500"></i>
                </div>
                <span class="text-xs">互动社区</span>
            </div>
        </div>

        <!-- 热门景点 -->
        <div class="px-4">
            <h3 class="text-lg font-bold mb-4">热门景点</h3>
            <div class="space-y-4">
                <div class="spot-card bg-white rounded-xl shadow-sm overflow-hidden">
                    <div class="h-40 bg-gradient-to-r from-blue-400 to-blue-600"></div>
                    <div class="p-4">
                        <h4 class="font-bold">西湖十景</h4>
                        <p class="text-sm text-gray-500 mt-1">杭州最具代表性的景点群</p>
                        <div class="flex items-center mt-2">
                            <i class="fas fa-star text-yellow-400"></i>
                            <span class="text-sm ml-1">4.8</span>
                            <span class="text-sm text-gray-500 ml-2">(2.3k 评价)</span>
                        </div>
                    </div>
                </div>
                <div class="spot-card bg-white rounded-xl shadow-sm overflow-hidden">
                    <div class="h-40 bg-gradient-to-r from-green-400 to-green-600"></div>
                    <div class="p-4">
                        <h4 class="font-bold">灵隐寺</h4>
                        <p class="text-sm text-gray-500 mt-1">千年古刹，佛教圣地</p>
                        <div class="flex items-center mt-2">
                            <i class="fas fa-star text-yellow-400"></i>
                            <span class="text-sm ml-1">4.9</span>
                            <span class="text-sm text-gray-500 ml-2">(1.8k 评价)</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 推荐路线 -->
        <div class="px-4 mt-6">
            <h3 class="text-lg font-bold mb-4">推荐路线</h3>
            <div class="space-y-4">
                <div class="bg-white rounded-xl shadow-sm p-4">
                    <div class="flex items-center">
                        <div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center">
                            <i class="fas fa-route text-blue-500"></i>
                        </div>
                        <div class="ml-4">
                            <h4 class="font-bold">经典一日游</h4>
                            <p class="text-sm text-gray-500">西湖十景 → 灵隐寺 → 雷峰塔</p>
                        </div>
                    </div>
                </div>
                <div class="bg-white rounded-xl shadow-sm p-4">
                    <div class="flex items-center">
                        <div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center">
                            <i class="fas fa-route text-green-500"></i>
                        </div>
                        <div class="ml-4">
                            <h4 class="font-bold">文化探索之旅</h4>
                            <p class="text-sm text-gray-500">中国丝绸博物馆 → 南宋御街 → 河坊街</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 底部导航栏 -->
    <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200">
        <div class="grid grid-cols-4">
            <div class="text-center py-3 text-blue-500">
                <i class="fas fa-home text-xl"></i>
                <p class="text-xs mt-1">首页</p>
            </div>
            <div class="text-center py-3 text-gray-500">
                <i class="fas fa-map text-xl"></i>
                <p class="text-xs mt-1">地图</p>
            </div>
            <div class="text-center py-3 text-gray-500">
                <i class="fas fa-comment text-xl"></i>
                <p class="text-xs mt-1">社区</p>
            </div>
            <div class="text-center py-3 text-gray-500">
                <i class="fas fa-user text-xl"></i>
                <p class="text-xs mt-1">我的</p>
            </div>
        </div>
    </div>
</body>
</html> 